<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fullscreen Video Background with Html&CSS</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="banner">
        <video autoplay loop muted  poster="assets/images/bg.jpg">
            <source src="assets/videos/bg.mp4" type="video/mp4">
            <source src="assets/videos/bg.webm" type="video/webm">
        </video>
        <div class="content">
            <h1>Life Is Fantastic</h1>
            <p>
                Lorem ipsum dolor sit amet, consectetur
                adipisicing elit, sed do eiusmod
                tempor incididunt ut labore et dolore magna
                aliqua. Ut enim ad minim veniam
                quis nostrud exercitation ullamco laboris nisi
                ut aliquip ex ea commodo
                consequat. Duis aute irure dolor in
                reprehenderit in voluptate velit esse
                cillum dolore eu fugiat nulla pariatur
                Excepteur sint occaecat cupidatat non
                proident, sunt in culpa qui officia deserunt
                mollit anim id est labrum. 
            </p>
        </div>
    </div>
</html>